package com.handlemvc.springmvc.handler;

import com.handlemvc.springmvc.constant.VistMethod;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.lang.reflect.Method;

/**
 * @author ：tiger.
 * @date ：2021/10/13 22:24
 */
@Data
@AllArgsConstructor
public class MyMvcHandler {
	private String url;

	private Object controller;

	protected Method method;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Object getController() {
		return controller;
	}

	public void setController(Object controller) {
		this.controller = controller;
	}

	public Method getMethod() {
		return method;
	}

	public void setMethod(Method method) {
		this.method = method;
	}
}
